/*
@hehung
2023-2-8
转载请注明出处，版权由@hehung所有
email: 1398660197@qq.com
wechat: hehung95
*/

#ifndef APP_KEY_H_
#define APP_KEY_H_

// Total number of keys
#define KEY_TOTAL_NUM              (2U)
#define KEY_1                      (0U)
#define KEY_2                      (1U)

// Key pin level: low or high
#define PIN_LOW                    (BSP_IO_LEVEL_LOW)
#define PIN_HIGH                   (BSP_IO_LEVEL_HIGH)


extern uint8_t Key_ReadPinLevel(uint8_t key_num);
extern void Key_RunningEntry(void);

#endif /* APP_KEY_H_ */
